﻿<?xml version="1.0" encoding="utf-8"?>
<!--Code Generated Analysis XML-->
<ULA>
  <Configuration>
    <Version>1.0.0</Version>
    <Product>SharePoint Server</Product>
    <Analysis>
      <Category>User Profile sync</Category>
      <XMLDescription>User Profile sync</XMLDescription>
    </Analysis>
  </Configuration>
  <ULAQuery>
    <Query>
	<ID>37625fbe-1319-4913-81d4-c800d0613aa2</ID>
	<Title>User Profile Service Application is not synching the profiles from AD.</Title>
	<Parameters>
		<EventID>et8j</EventID>
		<Message>The profile synch account must need a special permission in the Active directory , it is documented in our public KB. Replicate directory change permission for the sync account on the AD OU's missing.
Resolution : http://technet.microsoft.com/en-us/library/hh296982.aspx#RDCdomain</Message>
		<SQLQuery>SELECT TOP 1 MESSAGE FROM [ULAtablename] WHERE Message like '%UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly''s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)%' AND Message like '%Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)%' AND EventID = 'et8j'</SQLQuery>
		<RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE Message like '%UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly''s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)%' AND Message like '%Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)%' AND EventID = 'et8j'</RelevantLogCollection>
		<Symptom>After successful provisioning of UPA, starting the profile synch does not import any user profile from AD.</Symptom>
		<Description>After successfully creating a new User Profile Service Application, the profile sync from AD completes but still does not show any user profile imported.</Description>
		<Cause>Replicate directory change permission for the sync account on the AD OU's missing.</Cause>
		<Articles>http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-service-applications-userprofile-synch-service-is-not-synching-the-profiles-from-ad.aspx and http://technet.microsoft.com/en-us/library/hh296982.aspx#RDCdomain</Articles>
	</Parameters>
</Query>
    <Query>
      <ID>b34745c8-d407-485a-aed2-5399ba0cce99</ID>
      <Title>Cannot create My Sites - Event 5187 </Title>
      <Parameters>
        <EventID>5187</EventID>
        <Message>http://technet.microsoft.com/en-us/library/ff519515</Message>
        <SQLQuery>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '5187'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '5187'</RelevantLogCollection>
        <Symptom>One or more of the following symptoms might appear:

Users receive an error message that their My Site could not be created.


This event appears in the event log: Event ID: 5187 Description: My Site creation failure for user '[User ID]' for site url '[User URL]'. The exception was: [Exception].</Symptom>
        <Description>If a Microsoft SharePoint Server 2010 user tries to open their My Site for the first time, and the My Site does not exist, SharePoint Server 2010 provisions the My Site collection for the user. This event is logged if SharePoint Server 2010 could not create the My Site.</Description>
        <Cause>There is a naming conflict caused by the Site Naming Format setting.</Cause>
        <Articles>http://technet.microsoft.com/en-us/library/ff519515</Articles>
      </Parameters>
    </Query>
    <Query>
      <ID>003cb663-bff7-4b17-94b2-0315a7b3263b</ID>
      <Title>User Profile changes cannot be committed - Event 5188 </Title>
      <Parameters>
        <EventID>5188</EventID>
        <Message>http://technet.microsoft.com/en-us/library/ff519524</Message>
        <SQLQuery>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '5188'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '5188'</RelevantLogCollection>
        <Symptom>One or more of the following symptoms might appear:

Users get an error that their changes cannot be applied.


The following event appears in the event log: Event ID: 5188 Event Description: There was an error saving the user profile for user '[User ID]'. The exception was: [Exception].</Symptom>
        <Description>Users can edit properties in their own profiles, as allowed by the administrator. This event is logged when these changes made by the user (or by another process that has authority to update the profile) cannot be committed to the database.
</Description>
        <Cause>One or more of the following might be the cause:

The database server is unreachable because of network connectivity issues.


The database server is not responding because network connections are overloaded, or memory — and, hence, the commit request — is encountering a time out.


The database server is down because of additional issues with the server, such as disk failure.
</Cause>
        <Articles>http://technet.microsoft.com/en-us/library/ff519524</Articles>
      </Parameters>
    </Query>
    <Query>
      <ID>c057fabb-d562-4596-9a59-8d32908a2780</ID>
      <Title>User Profile Synchronization Service unexpected failure - Events 6300-6309 </Title>
      <Parameters>
        <EventID>Events 6300-6309 </EventID>
        <Message>http://technet.microsoft.com/en-us/library/ff519523</Message>
        <SQLQuery>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '6300' OR EventID = '6309'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '6300' OR EventID = '6309'</RelevantLogCollection>
        <Symptom> One or more of the following events appear in the event log: Event ID: 6300-6309 For the description, see the event details.
</Symptom>
        <Description>The User Profile Synchronization service has experienced a generic, unexpected failure.</Description>
        <Cause>There can be multiple causes, but primarily these events indicate connectivity failures with the User Profile Synchronization service — for example, the SharePoint farm failed to connect to the database for the instance of SQL Server.
</Cause>
        <Articles>http://technet.microsoft.com/en-us/library/ff519523</Articles>
      </Parameters>
    </Query>
    <Query>
      <ID>89b7cfa4-257b-46f5-a9bd-4f13d91e30ac</ID>
      <Title>Synchronizing data between SharePoint Server and directory failed - Events 6000-6099 </Title>
      <Parameters>
        <EventID>Events 6000-6099 </EventID>
        <Message>http://technet.microsoft.com/en-us/library/ff519514</Message>
        <SQLQuery>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '6000' OR EventID = '6099'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '6000' OR EventID = '6099'</RelevantLogCollection>
        <Symptom>One or more of the following events appear in the event log: Event ID: 6000-6099. For the description, see the event details.</Symptom>
        <Description>Synchronizing data between Microsoft SharePoint Server and the directory failed.</Description>
        <Cause>These failures indicate that the User Profile Synchronization service was configured incorrectly or that corrupted data is being synchronized from SharePoint Server 2010 — for example, a required attribute such as an account name is missing.</Cause>
        <Articles>http://technet.microsoft.com/en-us/library/ff519514</Articles>
      </Parameters>
    </Query>
    <Query>
      <ID>72b210f7-7b12-4905-a23d-5911aef3a4f2</ID>
      <Title>User Profile Synchronization Configuration Service cannot connect to SQL Server - Event 4</Title>
      <Parameters>
        <EventID>4</EventID>
        <Message>http://technet.microsoft.com/en-us/library/ff519520</Message>
        <SQLQuery>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '4'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 * FROM [ULAtablename] WHERE EventID = '4'</RelevantLogCollection>
        <Symptom>This event appears in the event log: Event ID: 4 Description: The Forefront Identity Manager Service cannot connect to the SQL Database Server. The SQL Server could not be contacted. The connection failure may be due to a network failure, firewall misconfiguration, or other connection issue. Additionally, the SQL Server connection information could be configured incorrectly. Verify that the SQL Server is reachable from the Forefront Identity Manager Service computer. Ensure that SQL Server is running, that the network connection is active, and that the firewall is configured properly. Last, verify the connection information has been configured properly. This configuration is stored in the Windows Registry.
</Symptom>
        <Description>The User Profile Synchronization service cannot connect to the instance of SQL Server. If the service cannot connect to the instance of SQL Server, user profile synchronization will fail to function.</Description>
        <Cause> The database for the instance of SQL Server is not accessible from the User Profile Synchronization Configuration Service, because of network connectivity issues or a wrong or changed password in the instance of SQL Server.
</Cause>
        <Articles>http://technet.microsoft.com/en-us/library/ff519520</Articles>
      </Parameters>
    </Query>
    <Query>
      <ID>99612af8-705f-4687-9c8d-0f8150fd7c30</ID>
      <Title>FIMWebClientTimeOut</Title>
      <Parameters>
        <EventID>tkau</EventID>
        <Message>Perform an IIS reset on the server running Profile sync service.</Message>
        <SQLQuery>SELECT TOP 1 *
  FROM [ULAtablename]
  where message like '%manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)%'
  and Message like '%Microsoft.SharePoint.Portal.WebControls.ManageProfileProperty._BuildPropertyMappingList%'
  and category ='Runtime'</SQLQuery>
        <RelevantLogCollection>SELECT TOP 1 *
  FROM [ULAtablename]
  where message like '%manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)%'
  and Message like '%Microsoft.SharePoint.Portal.WebControls.ManageProfileProperty._BuildPropertyMappingList%'
  and category ='Runtime'</RelevantLogCollection>
        <Symptom>When you browse to the Manage option for the User Profile Service Application, the page fails with an error

An unexpected error has occured.</Symptom>
        <Description>After Creation of the User Profile Syncronization, the service has not been completely provisioned and requires an IIS reset.</Description>
        <Cause>After Creation of the User Profile Syncronization, the service has not been completely provisioned and requires an IIS reset.</Cause>
        <Articles>
        </Articles>
      </Parameters>
    </Query>
  </ULAQuery>
</ULA>